<?php

/* @var \Illuminate\Routing\Router $router */

$router->match(['get', 'post'], 'work/config', 'ConfigController@index');

$router->match(['get', 'post'], 'work/category', 'WorkCategoryController@index');
$router->match(['get', 'post'], 'work/category/add', 'WorkCategoryController@add');
$router->match(['get', 'post'], 'work/category/edit', 'WorkCategoryController@edit');
$router->match(['post'], 'work/category/delete', 'WorkCategoryController@delete');
$router->match(['get'], 'work/category/show', 'WorkCategoryController@show');
$router->match(['post'], 'work/category/sort', 'WorkCategoryController@sort');

$router->match(['get', 'post'], 'work', 'WorkController@index');
$router->match(['get', 'post'], 'work/add', 'WorkController@add');
$router->match(['get', 'post'], 'work/edit', 'WorkController@edit');
$router->match(['post'], 'work/delete', 'WorkController@delete');
$router->match(['get'], 'work/show', 'WorkController@show');
$router->match(['post'], 'work/sort', 'WorkController@sort');
